package com.hello.sky.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.hello.sky.model.dto.EmployeeDTO;
import com.hello.sky.model.dto.PageParamDto;
import com.hello.sky.model.dto.PasswordEditDTO;
import com.hello.sky.model.entity.Employee;
import com.hello.sky.result.PageResult;
import com.hello.sky.result.Result;
import jakarta.servlet.http.HttpServletRequest;

/**
 * <p>
 * 员工信息 服务类
 * </p>
 *
 * @author D
 * @since 2024-05-06
 */
public interface EmployeeService extends IService<Employee> {

    Result login(Employee employee);

    void editPassword(PasswordEditDTO passwordEditDTO);

    void updateStatusById(Integer status, Long id);

    PageResult getPage(PageParamDto params);

    void addEmp(EmployeeDTO employee);

    Employee getEmpById(Long id);

    void updateEmp(Employee employee);
}
